win32: use a struct for the event source
authorPaolo Borelli <pborelli@gnome.org>
Sat, 5 Mar 2016 18:02:15 +0000 (19:02 +0100)
committerPaolo Borelli <pborelli@gnome.org>
Sat, 5 Mar 2016 19:31:10 +0000 (20:31 +0100)
commit8f254814064cd23ae1467c75538cd78c38cba11c
tree083a77cf760d02a0f3cf110e0ef23728e864157a
parent58a49c1a4bfaf36dc52dc8ff4ad1c91c85277967
win32: use a struct for the event source

This removes the event_poll_fd global variable and the (ab)use of
get_default_display. It is also more consistent with other backends.

Also store display
gdk/win32/gdkdisplay-win32.c
gdk/win32/gdkevents-win32.c
gdk/win32/gdkprivate-win32.h